Unable to convert a file specification to a file reference